<!DOCTYPE html>
<html>
<head>
    <title>${sysEn}-配件保养类别列表</title>
     <#include "/common/com_css.ftl" >
</head>
<body>
    <div id="wrapper">
        <!----左侧导航开始----->
        <#include "/common/menu.ftl">
        <!----左侧导航结束----->

        <!---右侧内容区开始---->
        <div id="page-wrapper" class="gray-bg dashbard-1">
            <#include "/common/con_nav.ftl">
            <@con_nav_tag current="产品组日志"></@con_nav_tag>
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox ">
                        <div class="ibox-content">
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover" id="example" >
                                </table>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
            <#include "/common/footer.ftl">
        </div>
        <!---右侧内容区结束---->
     </div>
    <#include "/common/com_table_js.ftl">
    <script>
        $(document).ready(function() {
            var table =  ListPageManager.DataTable.init({
                ajax:{
                    url:"${ctx}/catagory_log_groupinfo.do"
                },
                ajaxParam:function(){
                    var obj = {};
                    return obj;
                },
                rowCreatedCall:function(row,data,dataIndex){},
                columns:[
                    {title:"序号",numbercol:true},
                    {title:"配件类别",data:"sublineName"},
                    {title:"查询次数",data:"num"},
                    {title:"最近访问时间",render:function (data,type,row) {
                            return ListPageManager.Tools.formatDate(row["createTime"]);
                    }},
                    {title:"操作",toolcolinfo:[{"cmd":"detailSubline",text:"查看",click:function(cmd,row,data,dataIndex){
                                ListPageManager.Popup.popFullPage("${ctx}/catagory_loglist.do?sublineNo=" + data.sublineNo ,data.sublineName + "日志查看",function(){
                                });
                            }}]}
                ]
            },$("#example"));
        });
    </script>
</body>
</html>
